<style>
.hide {
    display: none!important;
}
</style>
<div class="container-fluid p-t-15">
    <div class="row">
        <div class="col-md-12 col-lg-12 col-xl-12">
            <div class="card bg-white m-b-30">
                <div class="card-body new-user">
                    <div class="tab-content">
                        <div class="panel-heading">
                            <h3 class="panel-title">聚合支付配置</h3>
                        </div>
                        <div class="panel-body">
                            
                            <div class="col-sm-15">
                                <div class="card text-center">
                                  <div class="card-header bg-success">
                                    <h4>产品介绍</h4>
                                    <ul class="card-actions">
                                      <li>
                                        <button type="button"><i class="mdi mdi-more"></i></button>
                                      </li>
                                    </ul>
                                  </div>
                                  <div class="card-body">
                                        <p>聚合收款是基于一个收款二维码，支持支付宝、微信、QQ等主流支付方式的收款产品。</p>
                                        <p>商家只需要一个固定的二维码，就可以完成支付宝、微信、QQ等主流支付方式的收款，方便快捷。</p>
                                  </div>
                                </div>
                            </div>
                            <div class="col-sm-6">
                            <div class="card">
                              <div class="card-header bg-info">
                                <h4> 聚合收款配置</h4>
                                <ul class="card-actions">
                                  <li>
                                    <button type="button"><i class="mdi mdi-more"></i></button>
                                  </li>
                                </ul>
                              </div>
                              <div class="card-body">
                                <div class="form-group">
                                <input type="text" id="codename" name="codename" value="<?=$userrow['codename']?>" class="form-control" placeholder = "留空默认显示<?=$userrow['username']?>">
                                </div>
                                <div class="form-group">
                                    <button type="sumbit" class="btn btn-cyan btn-block" onclick="Add_juhe();" >保存</button>
                                </div>
                              </div><br><br><br><br><br><br>
                              <div class="card-header bg-info">
                                <h4> 你的聚合收款链接</h4>
                                <ul class="card-actions">
                                  <li>
                                    <button type="button"><i class="mdi mdi-more"></i></button>
                                  </li>
                                </ul>
                              </div>
                              <div class="card-body">
                                <p>你可以将收款链接发到QQ、微信等聊天工具，别人点击后可以直接输入金额付款。</p>
                                    <div class="form-group">
                                        <input class="form-control" type="text" id="code_url"  value="<?=$code_url?>" readonly>
                                    </div>
                                    <div class="form-group">
                                        	<p class="text-center"><a href="javascript:;" class="btn btn-cyan copy-btn"  data-clipboard-text="<?=$code_url?>" title="点击复制">点击复制</a></p>
                                    </div>
                              </div>
                            </div>
                          </div>
                          <div class="col-sm-6">
                            <div class="card">
                              <div class="card-header bg-info">
                                <h4>你的聚合收款码</h4>
                                <ul class="card-actions">
                                  <li>
                                    <button type="button"><i class="mdi mdi-more"></i></button>
                                  </li>
                                </ul>
                              </div>
                              <div class="card-body">
                                 <input type="hidden" id="recName" value="<?=$username?>">
                                 <div class="form-group">
                    			  <label>选择收款码风格</label>
                    				<select class="form-control" id="styleName">
                    					<option value="dongxue">风格1-冬雪</option>
                    					<option value="pikaqiu">风格2-皮卡丘</option>
                    					<option value="kanuobudingmao">风格3-布叮猫</option>
                    					<option value="niannianyouyu">风格4-年年有余</option>
                    					<option value="xiaohuangren">风格5-小黄人</option>
                    					<option value="qitao">风格6-乞讨</option>
                    					<option value="baobei">风格7-宝贝</option>
                    					<option value="toushi">风格8-投食</option>
                    					<option value="gongzhu">风格9-公主</option>
                    					<option value="qiuzanzhu">风格10-求赞助</option>
                    					<option value="huanyingdashang">风格11-欢迎打赏</option>
                    					<option value="yinlian">风格12-银联</option>
                    					<option value="yitiji">风格13-一体机</option>
                    					<option value="maomi">风格14-猫咪</option>
                    					<option value="longmao">风格15-龙猫</option>
                					</select>
                    			</div>
                			    <div id="load"><img src="/Core/assets/img/loading.gif">&nbsp;正在生成中</div>
                			    <div id="qrcode" style="display:none;">
                    			    <img class="img-responsive center-block" alt="收款码" id="endImg" style="max-width: 300px;"/><br/><br/>
                    			    <a href="javascript:;" id="downImg" class="btn btn-cyan btn-block">长按图片或点我保存</a>
                			    </div>
                			    <div class="hide">
                    				<div id="code"></div>
                    				<canvas id="canvas"></canvas>
                    			</div>
                			    
                              </div>
                            </div>
                          </div>

<script src="<?=userassets?>juhe/jquery.slimscroll.js"></script>
<script src="<?=userassets?>juhe/app.js"></script>
<script src="<?=userassets?>juhe/layer.min.js"></script>
<script src="<?=userassets?>juhe/clipboard.min.js"></script>
<script src="<?=userassets?>juhe/jquery.qrcode.min.js"></script>
<script src="<?=userassets?>juhe/jquery.cookie.min.js"></script>
<script src="<?=userassets?>juhe/onecode.js"></script>
<script src="<?=userassets?>core_js/juhe.js"></script>